package com.nervenets.web.controller.handler.admin.order;

import com.nervenets.web.annotation.NeedValidation;
import com.nervenets.web.controller.handler.common.UserPagingParams;
import com.nervenets.web.enumeration.OrderStatus;
import com.nervenets.web.enumeration.PayType;
import com.nervenets.web.validation.Type;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class TeamOrderListForManagerParams extends UserPagingParams {
    @NeedValidation(type = Type.EMPTY, description = "支付方式，不填不筛选")
    private PayType payType;
    @NeedValidation(type = Type.EMPTY, description = "关联ID，不填不筛选")
    private long unionId;
    @NeedValidation(type = Type.EMPTY, description = "订单状态，不填不筛选")
    private OrderStatus status;
    @NeedValidation(type = Type.NUMBER, description = "开始时间，不填不筛选")
    private int startTime;
    @NeedValidation(type = Type.NUMBER, description = "结束时间，不填不筛选")
    private int endTime;
    @NeedValidation(type = Type.EMPTY, description = "订单号，不填不筛选")
    private String orderNumber;
    @NeedValidation(type = Type.EMPTY, description = "关键字，不填不筛选")
    private String keyword;
}
